package com.hxy.order.service;


import com.hxy.basic.query.util.PageList;
import com.hxy.basic.service.IBaseService;
import com.hxy.order.domain.AdoptOrder;
import com.hxy.order.query.AdoptOrderQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    /**
     * 创建领养订单
     * */
    String adoptOrderSubmit(Map<String, Object> params, HttpServletRequest request);

    PageList<AdoptOrder> queryAdminOrder(AdoptOrderQuery adoptOrderQuery, HttpServletRequest request);

    PageList<AdoptOrder> queryUserOrder(AdoptOrderQuery adoptOrderQuery, HttpServletRequest request);

    void cancelOrder(long oid);
}
